<?php
namespace app\admin\model;

use think\Model;

class Goods extends Model
{
	public function products()
	{
		return $this->hasMany('goods_detail','shop_goods_id','id');
	}
}